package SpringDemo.Base.Service.Impl;

import SpringDemo.Base.Dao.UserDao;
import SpringDemo.Base.Service.UserService;

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void addUser() {
        System.out.println("UserService...");
        userDao.addUser();
    }
}
